package com.abaaba.project2.service;

import com.abaaba.project2.bean.Order;
import com.abaaba.project2.bean.bo.OrderRefundBo;
import com.abaaba.project2.bean.bo.OrderShipBo;
import com.abaaba.project2.bean.data.BaseData;
import com.abaaba.project2.bean.vo.AdminGoodsStatisticsVO;
import com.abaaba.project2.bean.vo.AdminOrderStatisticsVO;
import com.abaaba.project2.bean.vo.DetailVo;


public interface AdminOrderService {

    BaseData<Order> queryOrder(Integer page, Integer limit, Short[] orderStatusArray, String sort, String order, Integer userId, String orderSn);

    DetailVo queryDetail(Integer id);

    Integer shipOrderById(OrderShipBo orderShipBo);

    Integer refundOrderById(OrderRefundBo orderRefundBo);

    AdminOrderStatisticsVO OrderNumberSearchAllCount();


    AdminGoodsStatisticsVO goodsNumberSearchAllCount();

    Long countSearchOrderAll();

}
